﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KhachSan
{
    class KiemTraCapNhat
    {
        public static bool KiemTraKhoaNgoai(string tenKhoa,string khoaChinh,List<string> danhSachBangLienQuan)
        {
            bool KetQua = true;
            string lenh="";
            for(int i=0;i<danhSachBangLienQuan.Count;i++){
              lenh+=  "( select * from " + danhSachBangLienQuan[i] + " where " + tenKhoa + "=" + khoaChinh+")";
              
            }
            return KetQua;
        }
        public static bool KiemTraThemTrungKhoa()
        {
            bool result = true;

            return result;
        }
    }
}
